libxl: fix libxl__build_hvm error handling
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 7 Aug 2015 10:17:38 +0000 (12:17 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Sun, 16 Aug 2015 06:47:19 +0000 (07:47 +0100)
commita97ee1cc4259abba99460aae1abe758920d998b2
tree2a4e38589ac71ef92bd6ca91c01551d6e1e41812
parent23d01fc3768e72e82a40cbe781409856d63d4f5c
libxl: fix libxl__build_hvm error handling

With the current code in libxl__build_hvm it is possible for the function to
fail and still return 0.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dom.c